You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Rem Method > TOpenCLMtxVec.Rem Method ([In] TOpenCLMtxVec, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Rem Method ([In] TOpenCLMtxVec, [In] double)

Calculates reminder after division X/Y.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Rem([In] TOpenCLMtxVec X, [In] double Y);

Reminder is calculated by using the following formula: 

x[i]-y*Trunc(x[i]/y). 

X must be a real. The results will be saved to the calling vector. Size and TOpenCLBase.ComplexComplexproperties of the calling vector are set implicitly to match the X object.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!